package com.qnvip.demo.mapper;

import com.qnvip.demo.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Eric
 * @date 2025/2/20 9:50
 * @description
 */
@Mapper
public interface UserMapper {
    List<User> getAllUsers();
    int insertUser(User user);
    int updateUser(User user);
    int deleteUser(Long id);
    User getUserById(Long id);
}